/* === PREMIUM FOOTER REDESIGN V4 === */

/* Footer base */
#footer {
  background-color: #ffffff !important;
  color: #1D1D1B !important;
  border-top: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  position: relative;
}

/* Main footer rows area */
#footer .footer-rows,
#footer .container {
  background-color: #ffffff !important;
}

#footer .footer-rows {
  padding: 64px 0 16px;
}

/* footer-bottom container — match production: block layout, float handles signature */
#footer .footer-bottom {
  padding: 0 20px !important;
}

/* --- Strip cards from all banner inner divs --- */
.custom-footer__banner3 .banner-wrapper > span > div,
.custom-footer__banner1 .banner-wrapper > span > div,
.custom-footer__banner6 .banner-wrapper > span > div {
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: none !important;
  text-align: left !important;
  margin: 0 !important;
}

/* --- Section headings --- */
.custom-footer__banner3 h2,
.custom-footer__banner1 h2,
.custom-footer__banner6 h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.8rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  color: #D61118 !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
  padding-bottom: 12px !important;
  margin-bottom: 22px !important;
}

/* --- Body text --- */
#footer p,
#footer li,
#footer address {
  color: #1D1D1B !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1.5rem !important;
  line-height: 1.7 !important;
  margin: 3px 0 !important;
}

/* --- Links --- */
#footer a {
  color: #1D1D1B !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  transform: none !important;
}

#footer a:hover {
  color: #D61118 !important;
  transform: none !important;
}

/* --- Useful links: remove list bullets, tighten spacing --- */
.custom-footer__banner1 ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.custom-footer__banner1 li {
  margin: 8px 0 !important;
}

/* --- Map iframe: dark treatment --- */
#footer iframe {
  border-radius: 0 !important;
  border: none !important;
  
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 16px !important;
  display: block !important;
}

/* --- Partner logos section — produkce: flex center, bez border, bez padding --- */
#footer .footer-icons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 40px !important;
  flex-wrap: wrap !important;
  background: transparent !important;
  padding: 20px 0 !important;
  border-top: none !important;
}

#footer .footer-icon a {
  display: inline-flex !important;
}

#footer .footer-icon img,
#footer .footer-icons img {
  
  opacity: 1 !important;
  max-height: 26px !important;
  max-width: 110px !important;
  width: auto !important;
  height: auto !important;
  transition: opacity 0.25s ease !important;
}

#footer .footer-icon a:hover img {
  opacity: 0.75 !important;
}

/* --- Social icons --- */
#footer .social-icon {
  display: inline-block !important;
  width: 35px !important;
  height: 35px !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  filter: brightness(0) !important;
  opacity: 0.65 !important;
  margin-right: 14px !important;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

#footer .social-icon:hover {
  opacity: 1 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* --- Footer bottom bar — produkce: display:block, #signature float:right (Shoptet default) --- */
#footer .footer-bottom {
  display: block !important;
  border-top: none !important;
  padding: 18px 20px !important;
  background: transparent !important;
  overflow: hidden !important;
}

#footer .footer-bottom,
#footer .footer-bottom a,
#footer .footer-bottom span,
#footer .copyright {
  font-size: 1.2rem !important;
  color: #1D1D1B !important;
  letter-spacing: 0.02em !important;
}

#footer .footer-bottom a:hover {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* Shoptet logo in footer bottom */
#footer #signature img {
  filter: none !important;
  opacity: 0.45 !important;
  max-width: 20px !important;

}

/* --- Responsive --- */
@media (min-width: 992px) {
  #footer .footer-rows {
    padding-top: 0;
    margin-top: -40px;
  }
}

@media (max-width: 767px) {
  #footer {
    margin-top: 2px !important;
  }

  #footer .footer-rows {
    padding: 24px 0 20px !important;
  }

  .custom-footer__banner3 .banner-wrapper > span > div,
  .custom-footer__banner1 .banner-wrapper > span > div,
  .custom-footer__banner6 .banner-wrapper > span > div {
    text-align: left !important;
    margin-bottom: 16px !important;
    padding-left: 20px !important;
    padding-right: 16px !important;
  }

  #footer .banner {
    margin-bottom: 16px !important;
  }

  #footer iframe {
    height: 180px !important;
  }

  #footer .footer-icons {
    gap: 24px !important;
  }

  #footer .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 4px !important;
  }
}
